import request from '@/utils/request';
import {base_url,headers} from '@/api/common/fengwenxin_setting'
// import common from '@/assets/js/common.js'
// import { getToken } from '@/utils/auth'
// let Base64 = require('js-base64').Base64;
export const findRelativeEnterpriseList = data => {//组织相对方列表
    return request({
        url: base_url + "/system/relative/relativeEnterpriseList",
        method:'post',
        // headers,
        data
    });
};
export const addRelativeEnterprise = data => {//新增组织相对方
    return request({
        url: base_url + "/system/relative/addRelativeEnterprise",
        method:'post',
        data
    });
};
export const updateRelativeEnterprise = data => {//更新组织相对方
    return request({
        url: base_url + "/system/relative/updateRelativeEnterprise",
        method:'post',
        data
    });
};
export const delRelativeEnterprise = data => {//删除组织相对方
    return request({
        url: base_url + "/system/relative/delRelativeEnterprise",
        method:'post',
        data
    });
};
